package forum.service.rpc.api;

import forum.domain.Role;

/**
 * Created by Administrator on 2017/4/5.
 */
public interface RoleService {

    Object getRoleList(int page, int size, String sort, String operation, String key, String value);

    Object getRoleById(Integer id);

    Object createRole(Role role);

    Object updateRoleById(Role role);


    Object deleteRoleByIds(Integer[] roleIds);

}
